<template>
  <div class="home">
    <router-link to="/search?words=vue">vue教程</router-link>
    <router-link to="/search?words=java">java教程</router-link>
    <router-link to="/search?words=js">js教程</router-link>
    <router-link to="/search/ts">动态路由传参</router-link>
    <router-link to="/search">动态路由传参 可选符 ? search后不传参数也可以跳转 </router-link>
    <router-link to="/notFind">测试找不到页面</router-link>
  </div>
</template>

<script>
export default {
  name: "HomeView",
};
</script>

<style lang="less" scoped>
.home {
  width: 500px;
  height: 500px;
  background-color: red;
  a {
    margin-left: 10px;
  }
}
</style>